package com.crazyteam.datasource.annotation;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author guoyang
 * @Date 2018-01-09
 * @Desc 多数据源支持注解自动装配
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import(DataSourceImportBeanDefinitionRegistrar.class)
public @interface MultiDateSourceConfig {
    String ATTR_VALUE = "value";

    DataSourceConfig[] value();
}
